package com.baox.agridata.synchronous.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.TUserQUADECPointEntiy;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: yxc
 * @date: 2023/12/18 14:37
 * @Description: 处理成都推来的申报点数据
 */
@Mapper
public interface ReceivePointMapper {

    /**
     * 根据mid 查询申报点
     * @param mid
     * @return
     */
    @DS("sichuanc")
    TUserQUADECPointEntiy selectTUserQUADECPointById(@Param("mid") String mid);

    /**
     * 插入申报点数据
     * @param data
     */
    @DS("sichuanz")
    void insertIntoTUserQUADECPoint(TUserQUADECPointEntiy data);

    /**
     * 做数据更新
     * @param data
     */
    @DS("sichuanz")
    void updatetoTUserQUADECPoint(@Param("data") TUserQUADECPointEntiy data);
}
